/**
 * 中国9号健康产业有限公司
 * Copyright (C) JiuHaoHealth Corporation. All Rights Reserved
 */
package com.jiuhaohealth.kangxun360.account;

import java.util.List;

import com.jiuhaohealth.kangxun360.main.po.Account;
import com.jiuhaohealth.kangxun360.main.po.AccountKey;
/**
 * @author minghui(jackchenmh@gmail.com)
 * @version 2014-3-18 下午5:08:45
 */
public interface AccountDao {
	public Integer insertAccount(Account account);
	public Integer deleteAccountById(AccountKey acountKey);
	public Integer updateAccount(Account account);
	public Account selectAccountByPk(AccountKey acountKey);
	public List<Account> selectAccounts(String firstname , String lastname);
	public List<Account> selectAccounts(String firstname , Integer pageSize, Integer offset);
	
	public Integer countByUserId(String userId );
}
